var express = require("express");
var router = express.Router();

router.get("/hot-words", function (req, res, next) {
  const body =  [
    "番茄",
    "草莓",
    "橙子",
    "香蕉"
  ]
  // 调用res.send将数据响应给客户端
  res.send({
    status: 0,
    msg: "login请求成功",
    data: body,
  });
});

module.exports = router;